﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Ceremony.API.ViewModel
{
    /// <summary>
    /// 用户获奖记录
    /// </summary>
    public class UserPrizeRecordViewModel
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        public int UserId { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 获奖ID
        /// </summary>
        public int PrizeId { get; set; }
        /// <summary>
        /// 奖项名称
        /// </summary>
        public string PrizeName { get; set; }
        /// <summary>
        /// 标签
        /// </summary>
        public string Tag { get; set; }
        /// <summary>
        /// 图片名称
        /// </summary>
        public string ImageName { get; set; }
        /// <summary>
        /// 图片Url
        /// </summary>
        public string ImageUrl { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public int Num { get; set; }
        /// <summary>
        /// 场次(1,2,3)
        /// </summary>
        public int Scene { get; set; }
        /// <summary>
        /// 层级（几等奖）
        /// </summary>
        public int Level { get; set; }
    }

    public class SummaryUserPrizeRecordViewModel
    {
        /// <summary>
        /// 总数
        /// </summary>
        public int TotalCount { get; set; }
        /// <summary>
        /// 获奖记录
        /// </summary>
        public IEnumerable<UserPrizeRecordViewModel> UserPrizeRecords { get; set; }
    }
}
